<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>{:config('Conf.web_name')}</title>
    <link rel="stylesheet" href="{:config('Conf.aliicon')}" charset="utf-8">
    <link rel="stylesheet" href="__INDEX__/layui/css/layui.css">
    <!--<link rel="stylesheet" href="__INDEX__/css/global.css" charset="utf-8">-->
    <link rel="stylesheet" href="__INDEX__/css/style.min.css" charset="utf-8">
    <link rel="stylesheet" href="__INDEX__/css/bootstrap.min.css" charset="utf-8">
    <link rel="stylesheet" href="__INDEX__/css/swiper.min.css" charset="utf-8">

    <!--<script src="__INDEX__/layui/layui.js"></script>-->
    <script src="__INDEX__/js/bootstrap.min.js"></script>
    <script src="__INDEX__/js/swiper.min.js"></script>
    <script type='text/javascript' src='__INDEX__/js/jquery-1.7.2.min.js'></script>
    <script type='text/javascript' src='__Function__/js/function.js'></script>
</head>


<body background-color: rgb(204, 204, 204);>
    <div class="fly-header layui-bg-black">
        <div class="layui-container">
            <a class="fly-logo" href="{:url('Index/index')}">
                <img src="{:config('Conf.web_logo')}" alt="layui"></a>
            <ul class="layui-nav fly-nav layui-hide-xs">
                <li class="layui-nav-item layui-this">
                    <a href="{:url('Index/lst',array('types'=>'dy'))}">
                        <i class="iconfont icon-weidianyingpaishe"></i>电影
                    </a>
                </li>
                <li class="layui-nav-item">
                    <a href="{:url('Index/lst',array('types'=>'dsj'))}">
                        <i class="iconfont icon-dianshiju" style="top: 1px;"></i>电视剧
                    </a>
                </li>
            </ul>
            <ul class="layui-nav fly-nav-user">
            {if condition="session('uid')"}
                <li class="layui-nav-item">
                    <a class="fly-nav-avatar" href="javascript:;">
                        <cite class="layui-hide-xs">贤心</cite>
                        <i class="iconfont icon-renzheng layui-hide-xs" title="认证信息：layui 作者"></i>
                        <i class="layui-badge fly-badge-vip layui-hide-xs">VIP3</i>
                        <img src="https://tva1.sinaimg.cn/crop.0.0.118.118.180/5db11ff4gw1e77d3nqrv8j203b03cweg.jpg">
                    </a>
                    <dl class="layui-nav-child">
                        <dd><a href="user/set.html"><i class="layui-icon">&#xe620;</i>基本设置</a></dd>
                        <dd><a href="user/message.html"><i class="iconfont icon-tongzhi" style="top: 4px;"></i>我的消息</a></dd>
                        <dd><a href="user/home.html"><i class="layui-icon" style="margin-left: 2px; font-size: 22px;">&#xe68e;</i>我的主页</a></dd>
                        <hr style="margin: 5px 0;">
                        <dd><a href="/user/logout/" style="text-align: center;">退出</a></dd>
                    </dl>
                </li>
            {else /}
                <li class="layui-nav-item">
                    <a class="iconfont icon-weidenglu-touxiang layui-hide-xs" href="user/login.html"></a>
                </li>
                <li class="layui-nav-item">
                    <a href="user/login.html">登入</a>
                </li>
                <li class="layui-nav-item">
                    <a href="user/reg.html">注册</a>
                </li>
                <li class="layui-nav-item">
                    <a href="/app/qq/" onclick="layer.msg('正在通过QQ登入', {icon:16, shade: 0.1, time:0})" title="QQ登入" class="iconfont icon-qq layui-hide-xs"></a>
                </li>
            {/if}
            </ul>
        </div>
    </div>
{__CONTENT__}
<div class="fly-footer">
        <p>
            <a href="http://fly.layui.com/">Fly社区</a>2018 &copy;
            <a href="http://www.layui.com/">layui.com</a></p>
        <p>
            <a href="http://fly.layui.com/jie/3147/" target="_blank">付费计划</a>
            <a href="/case/2018/" target="_blank">Layui案例</a>
            <a href="http://www.layui.com/template/fly/" target="_blank">获取Fly社区模版</a>
            <a href="http://fly.layui.com/jie/2461/" target="_blank">微信公众号</a></p>
        <p class="fly-union">
            <a href="https://www.upyun.com?from=layui" target="_blank" rel="nofollow" upyun>
                <img src=""></a>
            <span>提供 CDN 赞助</span></p>
    </div>
          <script>
            //注意：导航 依赖 element 模块，否则无法进行功能性操作
            layui.use('element', function(){
              var element = layui.element;
              
              //…
            });
        </script>
  </body>
</html>